package com.ctyun.xstore.vod.vodsetting.model;

import java.util.List;
import com.ctyun.xstore.vod.AbstractVODRequest;
import com.ctyun.xstore.vod.vodsetting.model.SettingEnums.RefererType;

public class SetRefererRequest extends AbstractVODRequest {

	private String regionCode;

	private boolean enable;

	private RefererType type;

	private boolean allowEmpty;

	private List<String> referers;

	public String getRegionCode() {
		return regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	public boolean isEnable() {
		return enable;
	}

	public void setEnable(boolean enable) {
		this.enable = enable;
	}

	public RefererType getType() {
		return type;
	}

	public void setType(RefererType type) {
		this.type = type;
	}

	public boolean isAllowEmpty() {
		return allowEmpty;
	}

	public void setAllowEmpty(boolean allowEmpty) {
		this.allowEmpty = allowEmpty;
	}

	public List<String> getReferers() {
		return referers;
	}

	public void setReferers(List<String> referers) {
		this.referers = referers;
	}

	@Override
	protected String getPath() {
		return "/accessControl/referer/set";
	}

}
